package com.t174.car.dao;

import com.t174.car.entity.Supplier;

import java.util.List;

public interface SupplierDao {
    /**
     * 查询
     * @return
     */
    public List<Supplier> query();

    /**
     * 添加
     * @return
     */
    public int addSupplier(Supplier supplier);

    public int delSupplier(Integer[] id ) ;
    public Supplier getSupplier(int gid);
    /**
     * 修改
     */
    public int updateSupplier(Supplier supplier);
}
